package com.yuju.upload.dao.entity;

import com.yuju.persist.base.entity.BaseEntity;
import java.io.Serializable;
import java.util.Date;

public class MultimediaType extends BaseEntity implements Serializable {
    /**
     *  主键。存储UUID，由应用生成。,所属表字段为sys_multimedia_type.id
     */
    private String id;

    /**
     *  资源分类名称,所属表字段为sys_multimedia_type.name
     */
    private String name;

    /**
     *  分组类型：1图片 2音频 3视频 4文件,所属表字段为sys_multimedia_type.type
     */
    private Byte type;

    /**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为sys_multimedia_type.group_id
     */
    private String groupId;

    /**
     *  所属酒店。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为sys_multimedia_type.hotel_id
     */
    private String hotelId;

    /**
     *  创建时间,所属表字段为sys_multimedia_type.gmt_create
     */
    private Date gmtCreate;

    /**
     *  创建用户ID,所属表字段为sys_multimedia_type.create_user_id
     */
    private String createUserId;

    /**
     *  创建用户名称,所属表字段为sys_multimedia_type.create_user_name
     */
    private String createUserName;

    /**
     *  更新时间,所属表字段为sys_multimedia_type.gmt_modified
     */
    private Date gmtModified;

    /**
     *  更新用户ID,所属表字段为sys_multimedia_type.update_user_id
     */
    private String updateUserId;

    /**
     *  更新用户名称,所属表字段为sys_multimedia_type.update_user_name
     */
    private String updateUserName;

    /**
     *  分类下资源数量合计,所属表字段为sys_multimedia_type.resource_cnt
     */
    private Integer resourceCnt;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getHotelId() {
        return hotelId;
    }

    public void setHotelId(String hotelId) {
        this.hotelId = hotelId;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public Integer getResourceCnt() {
        return resourceCnt;
    }

    public void setResourceCnt(Integer resourceCnt) {
        this.resourceCnt = resourceCnt;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", type=").append(type);
        sb.append(", groupId=").append(groupId);
        sb.append(", hotelId=").append(hotelId);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", createUserName=").append(createUserName);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", updateUserId=").append(updateUserId);
        sb.append(", updateUserName=").append(updateUserName);
        sb.append(", resourceCnt=").append(resourceCnt);
        sb.append("]");
        return sb.toString();
    }
}